{% extends 'base.html' %} {% load crispy_forms_tags %} {% block title %}{% if form.instance.pk %}Update Task{% else %}Create New Task{% endif %} | TaskFlow{% endblock %} {% block content %}

{% if form.instance.pk %}Update Task{% else %}Create New Task{% endif %}

{% csrf_token %}
{{ form.title }}
Please provide a task title.
{{ form.description }}
Provide a clear and detailed description of the task.
{{ form.priority }}
{{ form.scope }}
Is this task for your department or national level?
{{ form.status }}
{{ form.due_date }}
When should this task be completed?
{{ form.assigned_to }}
Leave empty if unassigned
{{ form.requires_approval }}
Check if this task needs approval before being marked complete
Attachments (Optional)
You can select multiple files (max 10MB each)
Cancel
{% if form.instance.pk %} Delete {% endif %}
{% block extra_js %} {% endblock %} {% endblock %}